{if $members}
	<ul>
	{foreach $members as $member}
		<li>
			<a href="/admin/members/existing/{$member.user_id}{if $member.cart_id}?cartid={$member.cart_id}{/if}"><b>{$member.user_gname} {$member.user_surname}</b> - {$member.user_username} <br>{if $member.students} [ {foreach from=$member.students item='student' name='stdlist'} {$student.student_name} {$student.student_surname} {if !$smarty.foreach.stdlist.last}|{/if} {/foreach} ]{/if} </a>
		</li>
	{/foreach}
	</ul>
{else}
	<div class="no-members">No matches found for: '{$query}'</div>
{/if}